var cpage='<p><b>Current Page:</b> <a href="'+location.href+'">'+location.href+"</a></p>";
document.write(cpage);